/*
 * conceptualBO.java
 *
 * Created on March 5, 2007, 8:07 PM
 *
 */

package edu.byu.isys413.group1E.data;

import java.util.Calendar;
import java.util.Date;

/**
 *
 * @author tkulbeth
 */
public class ConceptualBO extends ProductBO {
    
    private String productName;
    private String Description;
    private ManufacturerBO manufacturer;
    private WarrantyBO warranty;
    private String category;
    private double averageCost;
    private boolean forRent;
    
    /** Creates a new instance of conceptualBO */
    ConceptualBO() {
    }
    
    /** Creates a new instance of TransactionBO with an ID*/
    ConceptualBO(String productID) {
        setProductID(productID);
        this.setDirty(true);
    }
    
    /* Returns the conceptual quantity (if the coupon is for
     * a certain dollar amount discount).
     */
    
    /**
     *
     * @return
     */
    public String getProductName() {
        return productName;
    }
    
    /**
     *
     * @param productName
     */
    public void setProductName(String productName) {
        this.productName = productName;
        setDirty(true);
    }
    
    /**
     *
     * @return
     */
    public String getDescription() {
        return Description;
    }
    
    /**
     *
     * @param Description
     */
    public void setDescription(String Description) {
        this.Description = Description;
        setDirty(true);
    }
    
    /**
     *
     * @return
     */
    public double getAverageCost() {
        return averageCost;
    }
    
    /**
     *
     * @param averageCost
     */
    public void setAverageCost(double averageCost) {
        this.averageCost = averageCost;
        setDirty(true);
    }
    
    /**
     *
     * @return
     */
    public ManufacturerBO getManufacturer() {
        return manufacturer;
    }
    
    /**
     *
     * @param manufacturer
     */
    public void setManufacturer(ManufacturerBO manufacturer) {
        this.manufacturer = manufacturer;
        setDirty(true);
    }
    
    /**
     *
     * @return
     */
    public WarrantyBO getWarranty() {
        return warranty;
    }
    
    /**
     *
     * @param warranty
     */
    public void setWarranty(WarrantyBO warranty) {
        this.warranty = warranty;
        setDirty(true);
    }
    
    public String getCategory() {
        return category;
    }
    
    public void setCategory(String category) {
        this.category = category;
        setDirty(true);
    }
    
    public boolean isForRent() {
        return forRent;
    }
    
    public void setForRent(boolean forRent) {
        this.forRent = forRent;
        setDirty(true);
    }
}
